/*    */ package com.lmpop.createIndex.search;
/*    */ 
/*    */ import com.lmpop.createIndex.searchModel.Queue;
/*    */ import com.lmpop.createIndex.searchModel.QueueValue;
/*    */ import com.lmpop.createIndex.searchModel.SearchData;
/*    */ import com.lmpop.createIndex.searchModel.SearchModel;
/*    */ import java.io.IOException;
/*    */ import java.util.ArrayList;
/*    */ import java.util.List;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class ResumeIndexFiles
/*    */ {
/*    */   public ProperUtil properUtil;
/*    */   private String file_path;
/*    */ 
/*    */   public ResumeIndexFiles()
/*    */   {
/* 20 */     this.properUtil = new ProperUtil();
/* 21 */     this.file_path = this.properUtil.getFilePathByModel("resume");
/*    */   }
/*    */ 
/*    */   public List getResumeList(Map paraMap) throws IOException {
/* 25 */     ArrayList showList = new ArrayList();
/* 26 */     SearchData search = new SearchData();
/* 27 */     ArrayList paraList = new ArrayList();
/*    */ 
/* 29 */     String work_expers = ""; String usercats = ""; String resume_name = ""; String sex = ""; String degree = ""; String q_work_salary = ""; String work_date = ""; String in_date = "";
/* 30 */     if (paraMap.get("work_expers") != null) work_expers = paraMap.get("work_expers").toString();
/* 31 */     if (paraMap.get("usercats") != null) usercats = paraMap.get("usercats").toString();
/* 32 */     if (paraMap.get("q_work_salary") != null) q_work_salary = paraMap.get("q_work_salary").toString();
/* 33 */     if (paraMap.get("resume_name") != null) resume_name = paraMap.get("resume_name").toString();
/* 34 */     if (paraMap.get("sex") != null) sex = paraMap.get("sex").toString();
/* 35 */     if (paraMap.get("degree") != null) degree = paraMap.get("degree").toString();
/* 36 */     if (paraMap.get("work_date") != null) work_date = paraMap.get("work_date").toString();
/* 37 */     if (paraMap.get("in_date") != null) in_date = paraMap.get("in_date").toString();
/* 38 */     Queue queue = new Queue(new QueueValue[] { new QueueValue("in_date", 2, true) });
/*    */ 
/* 40 */     paraList.add(new SearchModel("0", "sex", sex));
/* 41 */     paraList.add(new SearchModel("0", "resume_name", resume_name));
/* 42 */     paraList.add(new SearchModel("0", "usercats", usercats));
/* 43 */     paraList.add(new SearchModel("0", "q_work_salary", q_work_salary));
/* 44 */     paraList.add(new SearchModel("0", "work_date", work_date));
/* 45 */     paraList.add(new SearchModel("0", "degree", degree));
/* 46 */     paraList.add(new SearchModel("1", "in_date", in_date));
/* 47 */     showList = search.getSearchInfo(this.file_path, paraList, queue);
/* 48 */     return showList;
/*    */   }
/*    */ }

/* Location:           F:\电商\commons-utils.jar
 * Qualified Name:     com.lmpop.createIndex.search.ResumeIndexFiles
 * JD-Core Version:    0.6.0
 */